#!/usr/bin/evn python
# -*- coding: utf-8 -*-
"""
-------------------------------------------------
File Name： ApiException
Description :
Author : 'Mark.Wei'
date： 2022/6/1
-------------------------------------------------
Change Activity:
2022/6/1:
-------------------------------------------------
"""
from typing import Any, Dict, Optional

from .ApiResponse import ApiResponse


class ParamErrorResponse(ApiResponse):
    status_code = 400
    success = False
    code = 10001
    message = '参数校验错误'
    # 结果可以是{} 或 []
    data: Optional[Dict[str, Any]] = None

    def __init__(self, data):
        super().__init__(self.code, self.message, data)
